package com.uni.config;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import com.uni.jjwt.JwtUtil;

/**
 * @author yanzheng_Yu
 *
 */
@Component
public class SysInt implements InitializingBean{
	
	@Value("${uni.jwtPrkey}")
	private String jwtPrkey;

	@Override
	public void afterPropertiesSet() throws Exception {
		JwtUtil.prkey = jwtPrkey;
	}

	public static void main(String[] args) {
		
	}
}
